package com.eden.illness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class Graph {
    //日期
    private String date;
    //现存确诊人数
    private int nowConfirm;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getNowConfirm() {
        return nowConfirm;
    }

    public void setNowConfirm(int nowConfirm) {
        this.nowConfirm = nowConfirm;
    }

    public Graph() {
        super();
    }

    public Graph(String date, int nowConfirm) {
        this.date = date;
        this.nowConfirm = nowConfirm;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("date", getDate())
                .append("nowConfirm", getNowConfirm())
                .toString();
    }
}
